package com.itheima.properties;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class Demo04 {

    public static void main(String[] args) throws IOException {

        Properties prop = new Properties();
        prop.setProperty("马蓉","宋喆");
        prop.setProperty("小璐","PGone");
        prop.setProperty("anglebaby","小明");

        FileWriter writer = new FileWriter("day13\\prop.properties");
        prop.store(writer,null);
        writer.close();

    }
}
